package cn.lopr.util;

/**
 * @author shuangyang7
 * @date 2021/7/19 19:45
 */
public class StringUtils {

    public static boolean isEmpty(String s) {
        return s == null || s.length() == 0;
    }
    /**
     * 获取类的首字母小写的名称
     *
     * @param className ClassName
     * @return java.lang.String
     */
    public static String toLowerFirstCase(String className) {
        try {
            char[] charArray = className.toCharArray();
            charArray[0] += 32;

            return String.valueOf(charArray);
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
}
